package com.jwthhealth_pub.old.sportfitness.presenter;

import android.util.Log;

import com.jwthhealth_pub.old.common.download.DownloadManager;
import com.jwthhealth_pub.old.sportfitness.service.DownloadServie;
import com.jwthhealth_pub.old.sportfitness.view.SportFitnessVideoActivity;

/**
 * Created by Administrator on 2016/12/30.
 */

public class ISportVideoPresenterCompl implements ISportVideoPresenter {

    private SportFitnessVideoActivity activity;
    private DownloadServie servie;
    private DownloadManager downloadManager;

    public ISportVideoPresenterCompl(SportFitnessVideoActivity activity) {
        this.activity = activity;
        this.downloadManager = activity.getDownloadManager();
    }

    @Override
    public void download(String url, String path) {
        if (downloadManager != null) {
            Log.d("ISportVideoPresenterCom", "downmanager isn't null");
        } else {
            Log.d("ISportVideoPresenterCom", "downmanager is null");
        }
    }

    @Override
    public void UnZipFolder(String path) {

    }

    @Override
    public void getData() {

    }
}
